package com.tmxk.rbac.pojo;

import com.tmxk.spring.SysRole;
import lombok.Data;

import java.util.List;

@Data
public class SysUser {
  // 基础数据类型: 基本数据类型/基本数据类型对应的包装类  + String引用数据类型
  // 复杂数据类型: 对象类型 + 集合类型
  private Integer userId;
  private Integer deptId;
  private String loginName;
  private String userName;
  private String userType;
  private String email;
  private String phoneNumber;
  private String sex;
  private String avatar;
  private String password;
  private String salt;
  private String status;
  private String delFlag;
  private String loginIp;
  private String loginDate;
  private String pwdUpdateDate;
  private String createBy;
  private String createTime;
  private String updateBy;
  private String updateTime;
  private String remark;

  //对象类型   一对一
  private SysDept sysDept;

  //集合类型   一对多
  private List<SysRole> roleList;

}
